package com.our.learning.infrastructure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hexujie
 * @date 2023-06-21 0:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_class")
public class Clazz {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer majorId;
    private Integer stuNum;
    private Integer teacherId;
}
